﻿using System;

namespace YArchitech.MEP.Electric.CableLay
{
	public class CableListField
	{
		public CableListField()
		{
			this.Name = string.Empty;
			this.DbName = string.Empty;
			this.Title = string.Empty;
			this.Visible = true;
			this.IsForQuery = false;
		}

		public CableListField(string name, string dbName, string title, bool visible, bool isForQuery)
		{
			this.Name = name;
			this.DbName = dbName;
			this.Title = title;
			this.Visible = visible;
			this.IsForQuery = isForQuery;
		}

		public string Name { get; set; }

		public string DbName { get; set; }

		public string Title { get; set; }

		public bool Visible { get; set; }

		public bool IsForQuery { get; set; }

		public override string ToString()
		{
			return this.Name;
		}
	}
}
